package cac.fenjian.resource.ExcelExport.service;

import cac.fenjian.resource.ExcelExport.dao.ExcelExportDao;
import cac.fenjian.resource.ExcelExport.dto.ExcelPage;
import cac.fenjian.resource.ExcelExport.dto.WmsItemInventoryDto;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @className: ExcelExportService
 * @description: （描述这个类的作用）
 * @author: lqc
 * @date: 2023/10/19 11:44:44 周四
 * @version: 1.0
 */
@Service
public class ExcelExportService {

    @Autowired
    private ExcelExportDao excelExportDao;

    public List<WmsItemInventoryDto> searchWmsItemInventory(ExcelPage excelPage, HashMap queryParam){
        PageHelper.startPage(excelPage.getCurrentPage(),excelPage.getPageSize());
        List<WmsItemInventoryDto> list =excelExportDao.searchWmsItemInventory(queryParam);
        return list;
    }

}
